package com.ccb.jyzx.expand.tiantouonline.dao;

import com.ccb.jyzx.expand.tiantouonline.bean.BatchInfo;
import com.ccb.jyzx.expand.tiantouonline.bean.vo.FileInfoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author XIEFEI
 * @date 2019-11-21 17:19
 * @Description
 **/
@Repository
public interface BatchInfoDao {
    void save(BatchInfo batchInfo);
    List<BatchInfo> findAll();
    List<FileInfoVo> listNoPush();

    void updateSendStateById(BatchInfo batchInfo);

    List<FileInfoVo> listCoverPush();

    /**
     *  批量更新
     * @param ids
     */
    void updateSendStateByIds(@Param("ids") List<String> ids);
}
